<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link type="text/css" rel="stylesheet" href="/public/static/H-ui/static/h-ui/css/H-ui.min.css"/>
    <link type="text/css" rel="stylesheet" href="/public/static/system/system.css">
    <title>Document</title>
    <style>
        body{ 
            padding: 50px;
        }
    </style>
</head>
<body>
    <div class="pt">
        <a href="javascript:history.back(-1);">&lt&lt返回签到列表</a>
    </div>
    <table class="table table-border table-hover">
        <tr>
            <th scope="col" align="center">用户名称</th>
            <th scope="col" align="center">状态</th>
            <th scope="col" align="center">签到时间</th>
        </tr>
        {volist name='signresult' id="signresult" empty = "$hint"}
        <tr class="{{$signresult.student_status==1 ? '':'none'}">
            <td align="center">{$signresult.userName}</td>
            <td align="center">{$signresult->result()->where('user_Id',$signresult.student_Id)->find() ? '已签到':'未签到'}</td>
            <td align="center">{$signresult->result()->where('user_Id',$signresult.student_Id)->find() ? $signresult->result()->where('user_Id',$signresult.student_Id)->find()->sign_Time : ''}</td>
        </tr>
        {/volist}
    </table>
</body>
</html>